import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import modelLoader from "@/components/modelLoader";
import rayCasting from "@/components/rayCasting";
import tween from "@/components/tween";
import light from "@/components/light";
import merryChristmas from "@/components/merryChristmas";
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/loader',
      name: 'modelLoader',
      component: modelLoader
    },
    {
      path: '/rayCasting',
      name: 'rayCasting',
      component: rayCasting
    },
    {
      path: '/tween',
      name: 'tween',
      component: tween
    },
    {
      path: '/light',
      name: 'light',
      component: light
    },
    {
      path: '/merryChristmas',
      name: 'merryChristmas',
      component: merryChristmas
    },

  ]
})
